.. _`Contours to labels`: .. _`com.sympathyfordata.imageanalysis.contours_to_labels`: Contours to labels `````````````````` .. image:: image_contours_to_labels.svg :width: 48 Takes a contour and creates integer labels for an image based on a list of contours. Use the node Image to List to extract each region from these labels Documentation ::::::::::::: Takes a contour and creates integer labels for an image based on a list of contours. Use the node Image to List to extract each region from these labels Definition :::::::::: Input ports ........... **image** image Image to mask **contours** [table] Contours Output ports ............ **result** image Resulting mask Configuration ............. **X column** (X) Column names with contour X coordinates **Y column** (Y) Column names with contour Y coordinates **Type** (close) Select if the countour should be closed Examples ........ * :download:`Snake_contours.syx ` Implementation .............. .. automodule:: node_contours :noindex: .. class:: ContourToLabels :noindex: